#ifndef __TASK_MAIN_H
#define __TASK_MAIN_H



/*-----------------------------------------------------------------------
|                               INCLUDES                                |
-----------------------------------------------------------------------*/
#include "main.h"
#include "board_base.h"
#include "bsp_uart.h"
#include "stm32_uart.h"
/*-----------------------------------------------------------------------
|                                DEFINES                                |
-----------------------------------------------------------------------*/
#define TASK_BUFFER_SIZE 8
#define ADC1_BUFFER_SIZE 2
/*-----------------------------------------------------------------------
|                             API FUNCTION                              |
-----------------------------------------------------------------------*/
void TaskInit(void const * argument);
void TaskMsgHandle(void const * argument);
void ButtonEventCallback(uint8_t KeyID, uint8_t Events);
#ifdef  __cplusplus
    extern "C" {
#endif
void Main(void);

extern uint16_t ADC1Buf[ADC1_BUFFER_SIZE];
#ifdef __cplusplus
	}
#endif
#endif
